package com.zhiyou100.mapper;

import com.zhiyou100.model.User;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

public interface LoginMapper {

    User loginBehind(@Param("tel") String tel,@Param("password") String password);

    ArrayList<Integer> findRolesById(int id);

    List<Integer> findPerIdByRoles(ArrayList<Integer> roleIds);

    List<String> findPerByPerId(List<Integer> perIds);
}
